import { RouterRecord } from "@/global/record/RouterRecord";

// 获取路由
export function getRoutersApi(): Promise<ApiDataRecord<RouterRecord[]>> {
  return request({
    url: '/getRouters',
    method: 'get'
  })
}